package com.letfox.user.model.relation;

import java.io.Serializable;
import java.util.Date;

/**
 * 账号角色
 */
public class UAccountRole implements Serializable {

	private static final long serialVersionUID = 1L;

	private long id;
	/** 角色编码 */
	private String roleId;
	/** 账号编码 */
	private String accountId;
	/** 创建时间 */
	private Date createTime;
	/** 更新时间 */
	private Date updateTime;

	public UAccountRole() {
	}

	public UAccountRole(long id, String roleId, String accountId,
			Date createTime, Date updateTime) {
		this.id = id;
		this.roleId = roleId;
		this.accountId = accountId;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

}
